FROM registry.cn-hangzhou.aliyuncs.com/angusjdk/myopenjdk:21-jdk-oracle
RUN mkdir -p /opt/run \
/opt/run/temp \
COPY ./fonts/ /usr/share/fonts/
WORKDIR /opt/run
ADD ./app.jar ./app.jar
ENV SPRING_PROFILES_ACTIVE="prod"
ENTRYPOINT ["java","-jar","app.jar"]